﻿using System;
using DevExpress.XtraBars.ToolbarForm;
using XCI.Helper;

namespace XCI.Windows
{
    public partial class FrmToolbarBase : ToolbarForm
    {
        public FrmToolbarBase()
        {
            InitializeComponent();
            if (WinFormHelper.IsDesignMode())
            {
                WinFormHelper.InitDesignFont();
            }
        }

        /// <summary>
        /// 是否设计模式
        /// </summary>
        protected new bool DesignMode => WinFormHelper.IsDesignMode();
    }
}